<!--{template @admin/header}--> 
<form action="{$action}" method="post" enctype="multipart/form-data"> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td colspan="2">添加首页轮播广告</td> </tr> 
  <tr>
    <td bgcolor="#F4F8FC">图片链接：</td>
    <td align="right"><input name="ad_img" type="text" id="ad_img" size="60"/>
      &nbsp;&nbsp;<font color="red">*</font>（<font color="red">先把图片上传到云储存空间然后把生成的链接复制到这儿</font>）</td>
  </tr> 
   <tr>
    <td bgcolor="#F4F8FC">广告链接：</td>
    <td align="right"><input name="ad_link" type="text" id="ad_link" size="40"/>      <font color="red">*</font></td>
  </tr> 
  <tr> <td width="18%" bgcolor="#F4F8FC">广告文字：</td> <td align="right"> <input name="ad_text" type="text" id="ad_text" /> </td> </tr> <tr>
<td>所属城市：</td><td><select name="city_id" id="city_id">
{loop $city $i $value}	  
<option value="{$value['cityid']}">{$value['cityname']}</option>
{/loop}
</select>
  <font color="red">*</font></td></tr> <tr> <td width="18%" bgcolor="#F4F8FC">排序：</td> <td align="right"><input name="sort" type="text" value="0" />
（数字越小，显示越靠前）</td> </tr> </table> <br> <center><input type="submit" class="button" name="addsubmit" value="提 交"></center> </form>
{template @admin/footer}